package com.ncr.travel.appmgr.model;

import com.ncr.travel.appmgr.model.shared.Error;


/**
 * @author ng185038
 * 
 */
public class ErrorJson implements Error {

	private long errorCode;
	private String errorMessage;

	/* (non-Javadoc)
	 * @see com.ncr.travel.appmgr.model.Error#getErrorCode()
	 */
	@Override
	public long getErrorCode() {
		return errorCode;
	}

	/* (non-Javadoc)
	 * @see com.ncr.travel.appmgr.model.Error#setErrorCode(long)
	 */
	@Override
	public void setErrorCode(long errorCode) {
		this.errorCode = errorCode;
	}

	/* (non-Javadoc)
	 * @see com.ncr.travel.appmgr.model.Error#getErrorMessage()
	 */
	@Override
	public String getErrorMessage() {
		return errorMessage;
	}

	/* (non-Javadoc)
	 * @see com.ncr.travel.appmgr.model.Error#setErrorMessage(java.lang.String)
	 */
	@Override
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

}